package com.mingmen.canting.model;

import java.util.List;

public class SupplierAllModel {


    /**
     * code : 0
     * count : 1
     * currentPage : 1
     * data : [{"id":"2001","name":"综合类"},{"id":"2002","name":"海鲜水产类"},{"id":"2003","name":"蔬菜类"},{"id":"2004","name":"肉禽虫类"},{"id":"2005","name":"调料干货类"},{"id":"2006","name":"米面粮油类"},{"id":"2007","name":"鲜蛋豆品类"},{"id":"2008","name":"酒水饮料类"},{"id":"2009","name":"半成品类"},{"id":"2010","name":"休闲食品类"},{"id":"2011","name":"水果类"}]
     * message : 操作成功
     * time : 2020-09-19 14:07:25
     * totalPage : 1
     */

    private int code;
    private int count;
    private int currentPage;
    private String message;
    private String time;
    private int totalPage;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 2001
         * name : 综合类
         */

        private String id;
        private String name;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
}
